﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="FeedbackRating.aspx.cs" Inherits="FeedbackRating" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
	<asp:LinkButton ID="TitleLinkButton" runat="server" OnClick="TitleLinkButton_Click" CssClass="PageSubHeading">Title</asp:LinkButton>
    <br />
    <asp:Label ID="DescriptionLabel" runat="server" Text="Description" CssClass="PageText"></asp:Label>
    <p>
    <span class="PageLabel">Importance</span>
    <asp:RadioButtonList ID="RatingRadioButtonList" runat="server" RepeatDirection="Horizontal" Width="262px" CssClass="PageText">
        <asp:ListItem Value="1">1</asp:ListItem>
        <asp:ListItem Value="2">2</asp:ListItem>
        <asp:ListItem Value="3">3</asp:ListItem>
        <asp:ListItem Value="4">4</asp:ListItem>
        <asp:ListItem Value="5">5</asp:ListItem>
    </asp:RadioButtonList><span class="PageText">Not Important &nbsp; &nbsp; Important</span>
    </p>
    
    <p>
	<span class="PageLabel">Comment</span><br/>
    <asp:TextBox ID="CommentTextBox" runat="server" Height="61px" MaxLength="2000" Rows="4"
        Width="424px"></asp:TextBox>
        <br/>
    <asp:Button ID="SaveRatingButton" runat="server" Text="Save Rating" OnClick="SaveRatingButton_Click" /><br />
    </p>
    
    
    <p>
    <asp:DataList ID="RatingsDataList" runat="server">
		<ItemTemplate>
					<span class="PageLabel">Rating:</span> <span class="PageText"><%#DataBinder.Eval(Container.DataItem,"Rating") %></span><br/>
					<span class="PageLabel">Comments:</span> <span class="PageText"><%#DataBinder.Eval(Container.DataItem,"Comment") %></span>
		</ItemTemplate>
    </asp:DataList>
    </p>
</asp:Content>

